package com.example.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "rules")
public class Rule {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    private Long vipRuleId;
    private String express;
    private String description;
    private String itemName;
}
